<?php
class Web_View_Helper_TipoPedido
	extends Zend_View_Helper_FormSelect 
{
	public function tipoPedido( $idNegocio, $delivery, $pickup ) 
	{
		$options = array();
		
		if ( $delivery ){
			$options["delivery"] = $this->view->translate( "delivery" );
		}
		
		if ( $pickup ){
			$options["pickup"] = $this->view->translate( "pickup" );
		}
 		
		$id = "tipoPedido-{$idNegocio}";
		$value = $this->view->rememberedOpcion( $id );
		
		return $this->formSelect( $id, $value, null, $options);
		
	}
	
	
	

}